package com.sjjy.dao.model;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 * User: mabo
 * Date: 2011-3-7
 * Time: 17:19:01
 * To change this template use File | Settings | File Templates.
 */

@Entity
@Table(name = "User_Info_View")
public class UserInfoView {



    @Column(name = "name")
    private String name;

    @Id
    @Column(name = "u_id")
    private String id;

    @Column(name = "url")
    private String url;

    @Column(name = "img")
    private String img;

    @Column(name = "mail")
    private String mail;

    @Column(name = "other")
    private String other;

    /**
     * 1=看过我
     * 2=未看过我
     */
    @Column(name = "type")
    private String type;

    /**
     * 来看我的时间
     */
    @Column(name = "u_Date")
    private Date uDate;

    @Column(name = "create_Date")
    private Date createDate;


    @Column(name = "o_count")
    private String oCount;


    @Column(name = "i_count")
    private String iCount;

    @Column(name = "i_Date")
    private Date iDate;

    @Column(name = "o_Date")
    private Date oDate;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    /**
     * 1=看过我
     * 2=未看过我
     */
    public String getType() {
        return type;
    }


    /**
     * 1=看过我
     * 2=未看过我
     * 3=发信后看过我
     */
    public void setType(String type) {
        this.type = type;
    }

    public Date getuDate() {
        return uDate;
    }

    public void setuDate(Date uDate) {
        this.uDate = uDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getoCount() {
        return oCount;
    }

    public void setoCount(String oCount) {
        this.oCount = oCount;
    }

    public String getiCount() {
        return iCount;
    }

    public void setiCount(String iCount) {
        this.iCount = iCount;
    }


    public Date getiDate() {
        return iDate;
    }

    public void setiDate(Date iDate) {
        this.iDate = iDate;
    }

    public Date getoDate() {
        return oDate;
    }

    public void setoDate(Date oDate) {
        this.oDate = oDate;
    }
}
